$header-height: 60px;

html,
body {
  height: 100%;
}

.header,
.footer {
  background-color: #3e3e3e;
  color: yellow;
}

#wrap {
  margin: $header-height + 20px auto 0;
  width: 80%;
  max-width: 800px;

  @media screen and (max-width: 769px) {
    width: 100%;
    padding: 0 10px;
  }
}

.footer {
  clear: both;
  position: relative;
  height: 50px;
  margin-top: 40px;
  border-top: 2px ridge #f0f0f0;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: $header-height;

  .caption {
    width: 100%;
    height: 30px;
    text-align: center;
    font-size: 13px;
    padding-top: 5px;
    color: #24dd24;
  }

  .info {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    padding: 0 10px 7px;
    align-items: center;
  }

  .function-list {
    margin: 0 0 0 auto;
    padding: 0;
    list-style-type: none;

    .cw-function {
      cursor: pointer;
    }
  }
}
